getCountryCode
getCountryCode
getCountryCode(locale: string ) : string
Extracts the country code from a locale string.
Function Parameters
locale:::
- locale: string
The locale string (e.g., 'en-US', 'en_US').
Returns
string
Defined in : link:https://github.com/thoughtspot/ts-chart-sdk/blob/f477c20/src/utils/globalize-Initializer/globalize-utils.ts#L32
--